package com.zhj.demo.aop;

import com.zhj.helloframework.core.annotation.Component;
import lombok.extern.slf4j.Slf4j;

/**
 * @Author: zhj
 * @Description: 需要被增强的类
 * @Date: 2021/10/9 16:45
 * @Version: 1.0
 */
@Component
@Slf4j
public class AspectTarget {

    public void testRight() {
        log.info("AspectTarget#Right()方法执行！");
    }

    public void testThrowing() {
        log.info("AspectTarget#testThrowing()方法执行！");
        throw new RuntimeException();
    }
}
